import { BasicColumn } from '@/components/Table';
export interface ListData {
  id: number;
  name: string;
  number: string;
  item_name: string;
  item_number: string;
  price: string;
  start_date: string;
  end_date: string;
}

export const columns: BasicColumn<ListData>[] = [
  {
    title: 'id',
    key: 'id',
  },
  {
    title: '项目名称',
    key: 'name',
  },
  {
    title: '项目编号',
    key: 'number',
  },
  {
    title: '立项名称',
    key: 'item_name',
  },
  {
    title: '立项编号',
    key: 'item_number',
  },
  {
    title: '合同总金额',
    key: 'price',
  },
  {
    title: '合同开工日期',
    key: 'start_date',
  },
  {
    title: '合同竣工日期',
    key: 'end_date',
  },
];
